home *** CD-ROM | disk | FTP | other *** search
- .geometry "version 0.1";
- v1 = .free(-0.779891, -0.861413, "1");
- v2 = .free(0.048913, 0.883152, "2");
- v3 = .free(0.796196, -0.796196, "3");
- l1 = .l.vv(v1, v2);
- l2 = .l.vv(v2, v3);
- l3 = .l.vv(v3, v1);
- v4 = .free(0.005435, -0.01087, "4");
- l4 = .l.vlperp(v4, l3, .invisible);
- l5 = .l.vlperp(v4, l2, .invisible);
- l6 = .l.vlperp(v4, l1, .invisible);
- v5 = .v.ll(l2, l5, .invisible, .plus);
- v6 = .v.ll(l4, l3, .invisible, .plus);
- v7 = .v.ll(l6, l1, .invisible, .plus);
- l7 = .l.vv(v7, v5, .red);
- l8 = .l.vv(v5, v6, .red);
- l9 = .l.vv(v6, v7, .red);
- l10 = .l.vlperp(v4, l8, .invisible);
- l11 = .l.vlperp(v4, l7, .invisible);
- l12 = .l.vlperp(v4, l9, .invisible);
- v8 = .v.ll(l11, l7, .invisible, .plus);
- v9 = .v.ll(l10, l8, .invisible, .plus);
- v10 = .v.ll(l12, l9, .invisible, .plus);
- l13 = .l.vv(v10, v8, .green);
- l14 = .l.vv(v8, v9, .green);
- l15 = .l.vv(v9, v10, .green);
- l16 = .l.vlperp(v4, l14, .invisible);
- l17 = .l.vlperp(v4, l15, .invisible);
- l18 = .l.vlperp(v4, l13, .invisible);
- v11 = .v.ll(l14, l16, .invisible, .plus);
- v12 = .v.ll(l15, l17, .invisible, .plus);
- v13 = .v.ll(l13, l18, .invisible, .plus);
- l19 = .l.vv(v13, v11, .yellow);
- l20 = .l.vv(v11, v12, .yellow);
- l21 = .l.vv(v12, v13, .yellow);
- .text("Pedal Triangles");
- .text("");
- .text("The third pedal triangle (the red triangle is the first pedal");
- .text("triangle of 123 with respect to the pedal point, the green is");
- .text("the second, and the yellow, the third) is similar to the original");
- .text("triangle. The vertices of a pedal triangle are the intersections of");
- .text("the lines through the pedal point perpendicular to the sides and the");
- .text("sides themselves.");
-